package com.grass.cropTradingCenter.service;

import com.grass.cropTradingCenter.pojo.entity.GoodsPackage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author zipan
* @description 针对表【goods_package】的数据库操作Service
* @createDate 2024-03-05 13:30:38
*/
public interface GoodsPackageService extends IService<GoodsPackage> {

    List<GoodsPackage> getPackageList(int goodsId);

    void removePackagesByGoodsId(int goodsId);

    void savePackages(int goodsId, List<GoodsPackage> packages);
}
